home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / tiff.654 < prev    next >
Text File  |  1992-02-06  |  2KB  |  32 lines

  1. {\rtf0\ansi{\fonttbl\f2\fnil Times-Roman;\f1\fmodern Courier;}
  2. \paperw12740
  3. \paperh8500
  4. \margl120
  5. \margr120
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\b0\i0\ul0\fs28 TIFF Image Inverted Negative \
  8.     \
  9. Q:  
  10. \fc0 My black and white TIFF files look fine on 1.0.  However, when transferring them to 2.0,  some of my TIFF files look like negatives when being viewed with the Icon app. When viewing them with Workspace Inspector, or the Mail App, they look normal.  What's happening?  How can I make them positive again?\
  11.  
  12. \i     \
  13.  
  14. \i0 A: If a monochrome TIFF file lacks the photometric field, Release 2.0 treats the data in the "min-is-white" sense. This works most of the time (although most of the images generated on the NeXT are "min-is-black", most of the images generated without the photometric have so far turned out to be "min-is-white"). Unfortunately, the demo app Icon displays these images in "min-is-black" mode. This is why they appeared negative in Icon, but looked fine in Mail, Workspace Inspector, etc.\
  15. \
  16. If the TIFF file still appears inverted when using Mail or Workspace TIFF Inspector, you can use a small program which sets the photometric field of these grayscale TIFF files to "min-is-black" (for most efficient access under NeXTStep and for use under Icon).  You might need to run this program twice to get the correct image. Use the Workspace TIFF inspector (and Icon, if desired) to verify the correctness of your TIFF file.  Please contact Tech Support to get this program.\
  17. \
  18. Usage: In a shell type:\
  19. \
  20.     
  21. \f1\fs24 % tiffrev filename.tiff\
  22.     
  23. \f2\fs28 \
  24. A new TIFF file will be generated with the name filename.inv.tiff.\
  25. \
  26. Not valid for 1.0\
  27. Valid for 2.0\
  28. \
  29. QA654\
  30. \
  31.  
  32.